package common;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import bean.Cliente;

public interface ICliente extends Remote
{
	public abstract int cadastrar(Cliente cliente) throws RemoteException;
	
	public abstract List<Cliente> buscarPorNome(String nomeCliente) throws RemoteException;
	
	public abstract Cliente buscarPorId(Integer idCliente) throws RemoteException;
	
	public abstract List<Cliente> buscarPorInfracoes(Integer min, Integer max) throws RemoteException;
	
	public abstract int atualizar(Cliente cliente) throws RemoteException;
	
	public abstract int excluir(Cliente cliente) throws RemoteException;
}
